package cn.neusoft.mapper;

import cn.neusoft.domain.CargoDescription;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CargoDescriptionMapper {
    public int insert(CargoDescription cargoDescription);

    public int deleteByID(int id);
    public int deleteByName(String name);

    public CargoDescription findByID(int id);
    public CargoDescription findByName(String name);

    public List<CargoDescription> getAll();

    public int update(CargoDescription cargoDescription);



}
